package com.ailk.aee.pcc.utils;

/**
 * @author pengzhang
 */
public class CacheUtils {

    /**
     * 指标信息名称
     * @param channelName
     * @param targetKey
     * @return
     */
    public static String getTargetCacheName (String channelName,String targetKey){

        return channelName+"$"+targetKey ;
    }

    public static String getUserSyncColumnCachekKey (String userId,String columnName,String channelName){
        return channelName+"$"+userId + "$"+columnName ;
    }

    public static String getPloyUserState (String userId,String ployCode){
        return userId+"$"+ployCode;
    }

    public static String getUserTargetKey (String cacheKey,String userId){
        return userId + "$"+ cacheKey;
    }

    public static String getUserPloy(String userId ) {
        return "$"+userId;
    }

}
